export default {
	data() {
		return {
		
			share1: {
				title: '给您分享一个惊喜',
				path: '',
				imageUrl: '',
			},
			
		}
	},
	
    onShareAppMessage(res) {
		
		let infor = uni.getStorageSync("infor")
		let sys=uni.getStorageSync("sys")

        return {
			title:sys.share_title,
			path: '/pages/index/index?id=' + infor.id + "&type=share",
			success(res) {
				console.log("分享成功")
			}
		}
    },
    onShareTimeline(res) {
		let infor = uni.getStorageSync("infor")
		let sys=uni.getStorageSync("sys") 
        return {
			title: sys.share_title,
			path: '/pages/index/index?id=' + infor.id + "&type=share",
			success(res) {
				console.log("分享成功")
			}
		}
    },
}